import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import { routes } from './router/config';
import RouterView from './router/router';

function App() {
    return (
        <Router>
          <RouterView routes={routes} />
      </Router>
    );
}

export default App;
